//
//  UIFont+HBCategory.m
//  HBLibary
//
//  Created by Rambo on 2018/10/26.
//

#import "UIFont+HBCategory.h"

@implementation UIFont (HBCategory)

- (CGFloat)hb_fontMargin{
    return self.lineHeight - self.pointSize;
}

- (CGFloat)hb_fontHeight{
    return self.ascender - self.descender;
}

@end
